package com.xc.c1

object myWhile {

  def main(args: Array[String]): Unit = {
    var i = 0
    while (i < 10) {
      i += 1;
      println("i = " + i)
    }
    println("==========================")

    var j = 0;
    do {
      j += 1
      println("j = " + j)
    } while (j < 10)
  }
}
